package com.lyncs.ods.common.api;

import lombok.AllArgsConstructor;
import lombok.NoArgsConstructor;
import lombok.Setter;
import lombok.experimental.Accessors;

/**
 * @author alex
 */
@Setter
@Accessors(chain = true)
@NoArgsConstructor
@AllArgsConstructor
public class Option<K, V> {

    /**
     * key
     */
    private K key;
    /**
     * value
     */
    private V value;

    public V getValue() {
        return value;
    }

    public K getKey() {
        return key;
    }
}